/**
 * @CreateTime:2020年6月5日下午1:26:34;
 * @User:Administrator;
 * @ProjectName:ybj;
 * @ClassName:Employee;
 * @Author:YangBingJie;
 * @QQ:2284180138;
 * @Email:2284180138@qq.com;
 **/
package xyz.yangbingjie.java.entity;
public class Employee extends Person{
	private String corp;
	private Integer salary;
	
	public Employee() {//无参构造
		super();
	}
	
	public Employee(String corp, Integer salary) {//有参构造
		super();
		this.corp = corp;
		this.salary = salary;
	}

	public String getCorp() {
		return corp;
	}
	public void setCorp(String corp) {
		this.corp = corp;
	}
	public Integer getSalary() {
		return salary;
	}
	public void setSalary(Integer salary) {
		this.salary = salary;
	}

	@Override
	public String toString() {
		return "Employee [corp=" + corp + ", salary=" + salary + "]";
	}
}
